package com.ceiling.service;

import com.ceiling.bean.system.Admin;
import com.ceiling.bean.system.Role;
import com.ceiling.bean.system.bo.AdminCreateBo;
import com.ceiling.bean.system.bo.AdminReq;
import com.ceiling.bean.system.bo.LogAndRoleReq;
import com.ceiling.bean.system.vo.*;

import java.util.List;


public interface SystemService {


    BaseData<Admin> selectAdminList(AdminReq adminReq);
//
    int createAdmin(Admin admin);

    int updateAdmin(Admin admin);

    int deleteAdmin(Admin admin);

    AdminLogVo selectLog(LogAndRoleReq logReq);

    AdminRoleVo selectRoleList(LogAndRoleReq roleReq);

    RoleCreateVo createRole(Role role);

    int updateRole(Role role);

    List<AdminListOptionsVo> queryRole();

    Admin selectAdminById(Integer id);


//    int deleteRole(Role role);
}
